//app.js
// const main = require("/utils/util");
const main = require("/utils/main");
const handle = require("/common/handle");
const router = require("/common/router");
App({
    ...main,
    handle,
    router,
    onLaunch: function () {
        this.getCode()
        //   main.login.getOpenId()
        // main.http.requestSync({arr:[13,12,54,66]},"v1/WorkReport/user_report")
        
    },
    async getCode() {
        console.log(await main.login.getOpenId());

      
    },
    globalData: {

    }
})